package clazz.abs.abs_factory.factory;

import clazz.abs.abs_factory.computer.AcerComputer;
import clazz.abs.abs_factory.computer.Computer;
import clazz.abs.abs_factory.computer.DellComputer;
import clazz.abs.abs_factory.phone.Phone;

public abstract class ComputerFactory extends Factory{
    @Override
    public Phone makePhoe(String type){
     return null;
    }

    @Override
    public Computer makeComputer(String type){
        if("dell".equals(type)){
            return new DellComputer();
        }else if ("acer".equals(type)){
             return new AcerComputer();
        }
        return null;
    }
}
